import request from '@/utils/request'

/* 用水定额执行台账表 */
// 列表查询
const waterQuotaExecuteList = function (params = {}) {
  return request({
    url: '/zy-api/api/swQuota/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addWaterQuotaExecute = function (params = {}) {
  return request({
    url: '/zy-api/api/swQuota/add',
    method: 'post',
    data: params
  })
}

// 修改
const editWaterQuotaExecute = function (params = {}) {
  return request({
    url: '/zy-api/api/swQuota/update',
    method: 'post',
    data: params
  })
}

// 删除
const delWaterQuotaExecute = function (params = {}) {
  return request({
    url: '/zy-api/api/swQuota/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditWaterQuotaExecute = function (params = {}) {
  return request({
    url: '/zy-api/api/swQuota/Review',
    method: 'post',
    data: params
  })
}

export {
  waterQuotaExecuteList,
  addWaterQuotaExecute,
  editWaterQuotaExecute,
  delWaterQuotaExecute,
  auditWaterQuotaExecute
}